<template>

  <div class="app-container" style="margin: 20px 70px;">

    <h1 style="margin: 50px 190px">清蜡措施设计书（正常周期热洗）</h1>

    <el-form ref="form" :model="form" label-width="200px">
      <el-row>
        <el-col :span="8">
          <el-form-item label="单位">
            <el-select v-model="form.region" placeholder="请选择单位">
              <el-option label="第一作业区" value="shanghai" />
              <el-option label="第二作业区" value="beijing" />
            </el-select>
          </el-form-item>
        </el-col>

        <el-col :span="8">
          <el-form-item label="井号">
            <el-select v-model="value" clearable filterable placeholder="请输入井号">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              />
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="8">
          <el-form-item label="用液量（m3）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="计划实施时间">
            <el-date-picker v-model="form.date1" type="date" placeholder="选择日期" />
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="8">
          <el-form-item label="前置量（m3）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="前置量-温度上限（℃）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="前置量-温度下限（℃）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="8">
          <el-form-item label="热洗量（m3）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="热洗量-温度上限（℃）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="热洗量-温度下限（℃）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="8">
          <el-form-item label="顶替量（m3）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="顶替量-温度上限（℃）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="顶替量-温度下限（℃）">
            <el-input v-model="form.date1" placeholder="请输入内容" style="width: 202px" />
          </el-form-item>
        </el-col>
      </el-row>

      <el-form-item style="margin: 30px">
        <el-button type="primary" @click="onSubmit">立即创建</el-button>
        <el-button>取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'MeasureDesign',

  data() {
    return {
      options: [{
        value: '选项1',
        label: 'T86105'
      }, {
        value: '选项2',
        label: '白863'
      }, {
        value: '选项3',
        label: '7826'
      }, {
        value: '选项4',
        label: '85149'
      }, {
        value: '选项5',
        label: '85131'
      }],
      value: '',

      form: {
        name: '',
        region: '',
        date1: '',
        date2: '',
        delivery: false,
        type: [],
        resource: '',
        desc: ''
      }
    }
  },

  created() {
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    }
  }
}
</script>

<style scoped>

</style>
